tools/oxenstored: Rename some 'port' variables to 'remote_port'
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 30 Nov 2022 03:17:28 +0000 (03:17 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 20 Dec 2022 13:13:40 +0000 (13:13 +0000)
commitfd0d9b05970986545656c8f6f688f70f3e78a29b
treecb77c77d4f344e61cf7ed57c8be6435425c24f68
parentbc5cc00868ea29d814bb3d783e28b49d1acf63e9
tools/oxenstored: Rename some 'port' variables to 'remote_port'

This will make the logic clearer when we plumb local_port through these
functions.

While doing this, rearrange the construct in Domains.create0 to separate the
remote port handling from the interface handling.  (The interface logic is
dubious in several ways, but not altered by this cleanup.)

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
(cherry picked from commit 31fbee749a75621039ca601eaee7222050a7dd83)
tools/ocaml/xenstored/domains.ml
tools/ocaml/xenstored/process.ml
tools/ocaml/xenstored/xenstored.ml